package com.fas.app.zhongfeng;

import android.content.Intent;
import android.view.View;

import com.fas.app.FreshActivity;
import com.fas.app.R;

public class FristSwitch_zhongfeng extends FreshActivity {

	@Override
	protected void initialPageviews() {
		setThisTitle(getResources().getString(R.string.choose_title));

		addText(getResources().getString(R.string.fas_egg));

		addText(getResources().getString(R.string.fas_larva));

		addText(getResources().getString(R.string.fas_pupa));

		addText(getResources().getString(R.string.fas_bee));
	}

	@Override
	public void onClick(View v) {
		Intent intent = null;
		if (getSelectID() == 0) {
			intent = new Intent(this, EggActivity.class);

			startActivity(intent);
		} else if (getSelectID() == 1) {
			intent = new Intent(this, LarvaActivity.class);
			startActivity(intent);
		} else if (getSelectID() == 2) {
			intent = new Intent(this, PupaActivity.class);
			startActivity(intent);
		} else if (getSelectID() == 3) {
			intent = new Intent(this, BeeActivity.class);
			startActivity(intent);
		}
	}

}
